package Visual;

import javax.swing.*;

import Logica.Agua;
import Logica.Arena;
import Logica.Asfalto;
import Logica.Concreto;
import Logica.Cono;
import Logica.Coordenadas;
import Logica.Grilla;
import Logica.Lava;
import Logica.Objeto;
import Logica.Par;
import Logica.Piso;
import Logica.Planta;

import java.awt.*;

public class Nivel1 extends NivelVisual {

	//etiquetas de los objetos en el mapa
	private JLabel eti01;private JLabel eti02;private JLabel eti03;private JLabel eti04;private JLabel eti05;
	private JLabel eti06;private JLabel eti07;private JLabel eti08;private JLabel eti09;private JLabel eti010;
	
	//paneles para los objetos en el mapa
	private JPanel pan1;private JPanel pan2;private JPanel pan3;private JPanel pan4;private JPanel pan5;
	private JPanel pan6;private JPanel pan7;private JPanel pan8;private JPanel pan9;private JPanel pan10;
	
	public Nivel1(){
		super();
		setearLogica();	
		
		eti1.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti2.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti3.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti4.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti5.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti6.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti7.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti8.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti9.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti10.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti11.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti12.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti13.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti14.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti15.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti16.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti17.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti18.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti19.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti20.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti21.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti22.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti23.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti24.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti25.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti26.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti27.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti28.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti29.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti30.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti31.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti32.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti33.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti34.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti35.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti36.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti37.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti38.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti39.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti40.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti41.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti42.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti43.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti44.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti45.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti46.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti47.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti48.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti49.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti50.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti51.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti52.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti53.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti54.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti55.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti56.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti57.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti58.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti59.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti60.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti61.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti62.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti63.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti64.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti65.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti66.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti67.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti68.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfaltoLargada.gif")));
		eti69.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti70.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti71.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti72.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti73.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti74.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti75.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti76.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti77.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti78.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti79.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti80.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti81.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti82.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti83.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti84.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti85.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti86.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti87.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti88.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti89.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti90.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti91.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti92.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti93.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti94.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti95.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti96.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti97.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti98.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti99.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti100.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti101.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti102.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti103.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti104.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti105.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti106.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti107.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti108.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti109.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti110.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti111.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti112.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti113.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti114.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti115.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti116.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti117.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti118.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti119.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti120.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti121.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti122.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti123.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti124.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti125.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti126.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti127.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti128.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti129.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti130.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti131.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti132.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti133.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti134.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti135.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti136.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti137.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti138.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti139.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti140.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti141.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti142.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti143.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti144.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti145.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti146.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti147.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti148.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti149.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti150.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti151.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti152.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti153.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti154.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti155.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti156.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti157.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti158.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti159.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti160.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti161.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti162.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti163.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti164.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti165.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti166.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti167.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti168.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti169.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti170.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti171.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti172.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti173.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/lava.gif")));
		eti174.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti175.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti176.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti177.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti178.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti179.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti180.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti181.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti182.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfalto.gif")));
		eti183.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti184.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti185.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti186.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti187.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti188.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti189.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti190.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti191.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti192.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti193.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti194.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti195.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti196.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti197.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti198.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti199.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti200.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/asfaltoLlegada.gif")));
		eti201.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti202.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti203.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti204.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti205.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti206.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti207.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti208.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti209.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti210.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti211.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti212.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti213.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/arena.gif")));
		eti214.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti215.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti216.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/concreto.gif")));
		eti217.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti218.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti219.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti220.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti221.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti222.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti223.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti224.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti225.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti226.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti227.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti228.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti229.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti230.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti231.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti232.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti233.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
		eti234.setIcon(new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/agua.gif")));
}

	public JPanel getPanel() {
		return Grilla;
	}
	
	private void setearLogica(){
		for (int i=0;i<3;i++){
			for (int j=0;j<9;j++)
				AgregarArena(j*34,i*34);
			for (int k=10;k<15;k++)
				AgregarArena(k*34,i*34);
			for (int l=15;l<17;l++)
				AgregarConcreto(l*34,i*34);
		}
		for (int i=3;i<12;i++){
			for(int j=15;j<17;j++)
				AgregarConcreto(j*34,i*34);
			AgregarArena(476,i*34);
		}
		for (int i=4;i<12;i++)
			AgregarConcreto(0,i*34);
		for (int i=0;i<12;i++)
			AgregarConcreto(578,i*34);
		for (int i=3;i<5;i++)
			AgregarConcreto(i*34,136);
		for (int i=0;i<6;i++)
			AgregarArena(i*34,102);
		for (int i=7;i<10;i++)
			AgregarArena(102,i*34);
		for (int i=0;i<8;i++)
			AgregarLava(306,i*34);
		for (int i=6;i<10;i++)
			AgregarLava(340,i*34);
		for (int i=7;i<12;i++)
			AgregarAgua(68,i*34);
		for (int i=5;i<12;i++)
			AgregarAsfalto(34,i*34);
		for (int i=3;i<10;i++)
			AgregarAsfalto(272,i*34);
		for (int i=6;i<8;i++)
			AgregarAsfalto(i*34,102);
		for (int i=8;i<10;i++)
			AgregarAsfalto(306,i*34);
		for (int i=6;i<8;i++)
			AgregarAsfalto(i*34,102);
		for (int i=7;i<12;i++)
			AgregarConcreto(238,i*34);
		for (int i=4;i<8;i++)
			AgregarConcreto(170,i*34);
		for (int i=3;i<6;i++)
			for (int j=10;j<14;j++)
				AgregarAsfalto(j*34,i*34);
		for (int i=6;i<12;i++)
			for (int j=11;j<14;j++)
					AgregarAsfalto(j*34,i*34);
		for (int i=5;i<7;i++)
			for (int j=2;j<5;j++)
				AgregarAsfalto(j*34,i*34);
		for (int i=8;i<10;i++)
			for (int j=4;j<7;j++)
				AgregarAsfalto(j*34,i*34);
		for (int i=10;i<12;i++)
			for (int j=3;j<7;j++)
				AgregarArena(j*34,i*34);
		for (int i=10;i<12;i++)
			for (int j=8;j<11;j++)
				AgregarArena(j*34,i*34);
		for (int i=4;i<7;i++)
			for (int j=6;j<8;j++)
				AgregarArena(j*34,i*34);
		
		AgregarConcreto(34,136);
		AgregarAsfalto(68,136);
		AgregarAsfalto(136,238);
		AgregarConcreto(204,238);
		Coordenadas C = new Coordenadas(442,102);
		gnivelActual.SetPartida(C);
		gnivelActual.SetLlegada(new Coordenadas(34,374));
		gnivelActual.SetPosicionActual(C);
		gnivelActual.SetSentido("Norte");
		C = new Coordenadas(68,102);
		Piso E = gnivelActual.buscar(C);
		E.SetItem(new Cono());
		C = new Coordenadas(170,102);
		 E = gnivelActual.buscar(C);
		E.SetItem(new Cono());
		C = new Coordenadas(272,238);
		 E = gnivelActual.buscar(C);
		E.SetItem(new Cono());
		C = new Coordenadas(306,272);
		 E = gnivelActual.buscar(C);
		E.SetItem(new Cono());
		C = new Coordenadas(340,170);
		 E = gnivelActual.buscar(C);
		E.SetItem(new Cono());
		
		C = new Coordenadas(204,340);
		 E = gnivelActual.buscar(C);
		E.SetObjeto(new Planta());
		C = new Coordenadas(204,374);
		 E = gnivelActual.buscar(C);
		E.SetObjeto(new Planta());
		C = new Coordenadas(408,306);
		 E = gnivelActual.buscar(C);
		E.SetObjeto(new Planta());
		C = new Coordenadas(408,340);
		 E = gnivelActual.buscar(C);
		E.SetObjeto(new Planta());
		C = new Coordenadas(408,374);
		 E = gnivelActual.buscar(C);
		E.SetObjeto(new Planta());
	}
	
	protected void establecerObjetos(){
		//Objetos en el mapa
		ArrCoor=new Coordenadas[10];
		eti01=new JLabel();
		pan1=new JPanel();
		eti01.setIcon((new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/Visual/Imagenes/cono copia.gif"))));
		pan1.setBounds(68, 102, 34, 34);
		pan1.add(eti01);
		pan1.setOpaque(false);
		Grilla.add(pan1);
		ArrCoor[0]=new Coordenadas(68,102);
		
		eti02=new JLabel();
		pan2=new JPanel();
		eti02.setIcon((new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/Visual/Imagenes/cono copia.gif"))));
		pan2.setBounds(170, 102, 34, 34);
		pan2.add(eti02);
		pan2.setOpaque(false);
		Grilla.add(pan2);
		ArrCoor[1]=new Coordenadas(170,102);
		
		eti03=new JLabel();
		pan3=new JPanel();
		eti03.setIcon((new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/Visual/Imagenes/cono copia.gif"))));
		pan3.setBounds(272, 238, 34, 34);
		pan3.add(eti03);
		pan3.setOpaque(false);
		Grilla.add(pan3);
		ArrCoor[2]=new Coordenadas(272,238);
		
		eti04=new JLabel();
		pan4=new JPanel();
		eti04.setIcon((new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/Visual/Imagenes/cono copia.gif"))));
		pan4.setBounds(306, 272, 34, 34);
		pan4.add(eti04);
		pan4.setOpaque(false);
		Grilla.add(pan4);
		ArrCoor[3]=new Coordenadas(306,272);
		
		eti05=new JLabel();
		pan5=new JPanel();
		eti05.setIcon((new ImageIcon(getClass().getClassLoader().getResource("Visual/Imagenes/Visual/Imagenes/cono copia.gif"))));
		pan5.setBounds(340, 170, 34, 34);
		pan5.add(eti05);
		pan5.setOpaque(false);
		Grilla.add(pan5);
		ArrCoor[4]=new Coordenadas(340,170);
		
		eti06=new JLabel();
		pan6=new JPanel();
		eti06.setIcon((new ImageIcon(getClass().getClassLoader().getResource("Planta copia.gif"))));
		pan6.setBounds(204, 340, 34, 34);
		pan6.add(eti06);
		pan6.setOpaque(false);
		Grilla.add(pan6);
		ArrCoor[5]=new Coordenadas(204,340);
		
		eti07=new JLabel();
		pan7=new JPanel();
		eti07.setIcon((new ImageIcon(getClass().getClassLoader().getResource("Planta copia.gif"))));
		pan7.setBounds(204, 374, 34, 34);
		pan7.add(eti07);
		pan7.setOpaque(false);
		Grilla.add(pan7);
		ArrCoor[6]=new Coordenadas(204,374);
		
		eti08=new JLabel();
		pan8=new JPanel();
		eti08.setIcon((new ImageIcon(getClass().getClassLoader().getResource("Planta copia.gif"))));
		pan8.setBounds(408, 306, 34, 34);
		pan8.add(eti08);
		pan8.setOpaque(false);
		Grilla.add(pan8);
		ArrCoor[7]=new Coordenadas(408,306);
		
		eti09=new JLabel();
		pan9=new JPanel();
		eti09.setIcon((new ImageIcon(getClass().getClassLoader().getResource("Planta copia.gif"))));
		pan9.setBounds(408, 340, 34, 34);
		pan9.add(eti09);
		pan9.setOpaque(false);
		Grilla.add(pan9);
		ArrCoor[8]=new Coordenadas(408,340);
		
		eti010=new JLabel();
		pan10=new JPanel();
		eti010.setIcon((new ImageIcon(getClass().getClassLoader().getResource("Planta copia.gif"))));
		pan10.setBounds(408, 374, 34, 34);
		pan10.add(eti010);
		pan10.setOpaque(false);
		Grilla.add(pan10);
		ArrCoor[9]=new Coordenadas(408,374);
	}
	
}
